import { DefaultFooter } from '@ant-design/pro-layout';
import { GithubOutlined } from '@ant-design/icons';
import React from 'react';

const wldosFooterDom = (version) => (
  <DefaultFooter
    copyright={`${new Date().getFullYear()} WLDOS 云管端解决方案 ${version?? 'V1.9.1'}`}
    links={[
      {
        key: 'wldos',
        title: 'WLDOS平台',
        href: 'http://www.wldos.com',
        blankTarget: true,
      },
      {
        key: 'github',
        title: <GithubOutlined />,
        href: 'https://gitee.com/wldos',
        blankTarget: true,
      },
      {
        key: 'xiupu',
        title: '嗅谱网',
        href: 'http://www.xiupu.cc',
        blankTarget: true,
      },
    ]}
  />
);

export default wldosFooterDom;
